@import '../normalize.css';
@import '../../font/iconfont.css';

@num: 20; //rem 份数

@media screen and (min-width: 750px) {
    html {
        font-size: (750px / @num) !important;
    }
}

body {
    min-width: 320px;
    max-width: 20rem;
    margin: 0 auto;

    .title_box {
        font-size: .9333rem;
        color: #1C1C1C;
        text-align: center;
        margin-top: 1.8667rem;
        margin-bottom: .5333rem;
    }

    .navs_box {
        display: flex;
        flex-wrap: wrap;
        padding-top: 1.1733rem;
        border-top: .0267rem solid #eaeaea;

        .item {
            width: 33.33%;
            height: 5.3333rem;
            display: flex;
            flex-direction: column;
            justify-content: center;
            align-items: center;
            font-size: .6667rem;
            color: #707070;

            img {
                width: 2.88rem;
                height: 2.88rem;
            }
        }
    }

    .activity_img {
        width: 19.2533rem;
        height: 4.0533rem;
        margin-left: .48rem;
        margin-top: .5333rem;
    }

    .gap_box {
        height: .2667rem;
        background-color: #f2f4f7;
        margin-top: 1.1467rem;
    }

    .work_big_box {
        .top {
            display: flex;
            padding: 0px .8rem 0 .5333rem;
            margin-top: .6667rem;
            align-items: center;

            img {
                width: 1.0133rem;
                height: 1.0133rem;
            }

            h2 {
                font-size: .7467rem;
                color: #333333;
                margin-left: .48rem;
                white-space: nowrap;
            }

            a {
                margin-left: 12.48rem;
                font-size: .5867rem;
                color: #999999;
                white-space: nowrap;
            }
        }

        .main_Swiper {
            margin-top: 1.5rem;
            position: relative;

            // swiper_1 start
            .swiper-container {
                // width: 100%;
                height: 100%;
                // 修改
                width: 14.4rem;
            }

            .swiper-slide {
                text-align: center;
                font-size: 18px;
                background: #fff;

                /* Center slide text vertically */
                display: -webkit-box;
                display: -ms-flexbox;
                display: -webkit-flex;
                display: flex;
                -webkit-box-pack: center;
                -ms-flex-pack: center;
                -webkit-justify-content: center;
                justify-content: center;
                -webkit-box-align: center;
                -ms-flex-align: center;
                -webkit-align-items: center;
                align-items: center;
                transition: 300ms;
                transform: scale(0.8);

                // 修改
                flex-direction: column;
                opacity: 0.5;
            }

            .swiper-slide-active,
            .swiper-slide-duplicate-active {
                transform: scale(1);
                // 修改
                z-index: 10;
                opacity: 1;
            }

            // swiper_1 end
            .my_swiper_item {
                img {
                    width: 9.0133rem;
                    height: 10.0267rem;
                }

                span {
                    margin-top: .3667rem;
                    white-space: nowrap;
                    font-size: .7067rem;
                    color: #333333;
                }
            }
        }
    }

    .test {
        margin-top: 2.6667rem;
    }

    .stdly {
        border-top: .2667rem solid #F2F4F7;
        margin-top: 1.0133rem;

        .top {
            display: flex;
            padding: 0px .8rem 0 .5333rem;
            margin-top: .6667rem;
            align-items: center;

            img {
                width: 1.0133rem;
                height: 1.0133rem;
            }

            h2 {
                font-size: .7467rem;
                color: #333333;
                margin-left: .48rem;
                white-space: nowrap;
            }

            a {
                margin-left: 12.48rem;
                font-size: .5867rem;
                color: #999999;
                white-space: nowrap;
            }
        }

        // swiper_2 start
        .main_Swiper_2 {
            margin-top: 1.3067rem;

            .swiper {
                width: 100%;
                height: 100%;
                overflow: hidden;
            }

            .swiper-slide {
                // text-align: center;
                font-size: 18px;
                background: #fff;

                /* Center slide text vertically */
                // display: -webkit-box;
                // display: -ms-flexbox;
                // display: -webkit-flex;
                // display: flex;
                // -webkit-box-pack: center;
                // -ms-flex-pack: center;
                // -webkit-justify-content: center;
                // justify-content: center;
                // -webkit-box-align: center;
                // -ms-flex-align: center;
                // -webkit-align-items: center;
                // align-items: center;

                // flex-direction: column;
            }

            .swiper-slide img {
                display: block;
                width: 100%;
                height: 100%;
                object-fit: cover;
            }

            // swiper_2 end

            .my_swiper_item {
                img {
                    width: 7.2533rem;
                    height: 4.56rem;
                }

                p {
                    // width: 7.2533rem;
                    font-size: .7467rem;
                    color: #494c54;
                    margin: .5667rem .67rem 0px .3rem;
                }

                span {
                    font-size: .6933rem;
                    color: #9e9e9e;

                    span {
                        color: #FF4400;
                    }
                }
            }

            .first {
                margin-left: .8267rem;
            }
        }
    }

    .footer {
        width: 100%;
        position: fixed;
        bottom: 0px;
        margin-top: .8rem;
        display: flex;
        height: 3.0133rem;
        border-top: 1px solid #E2E2E2;
        z-index: 11;
        background-color: #fff;

        .item {
            flex: 1;
            display: flex;
            height: 100%;
            flex-direction: column;
            justify-content: center;
            align-items: center;

            img {
                width: 1.0667rem;
                height: 1.0667rem;
            }

            span {
                margin-top: .2667rem;
                font-size: .5867rem;
                color: #666666;
            }
        }
    }
}